<template>
  <div class="register">
    用户注册

    小红实现用户注册功能

    <button @click="handleRegister">注册</button>
  </div>
</template>

<script lang="ts" setup>
import { register } from '../../api/user'

const handleRegister = () => {
  register()
}
</script>

<style lang="less" scoped></style>
